﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace G2
{
    class I1//2.在用户类中定义一个方法输出当前用户对象的账号、用户名和密码的信息；
            //然后在主方法调用输出；
    {

        private String id;//账号
        private String username;//用户名
        private String password;//密码
        public String ID
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public String  Username 
        {
            get { return this.username; }
            set {this.username=value ; } 
        }
        public String Password { get {return this.password; } set {this.password=value; } }
        public void Ss()
        {
            Console.WriteLine("用户的账号为{0}，用户名为{1}，密码为{2}",this.ID,this.Username,this.Password);
        }
    }
}
